#!/usr/bin/env python
# -*- coding: utf-8 -*-
from tack.lib import json_app


def site_config_app(environ, start_response):
    cfg = environ['tack.siteconfig']
    out = {
        'poc':cfg['stack_poc'],
        'print_service_url':cfg['stack_print_svc'],
        }
    return json_app(out)(environ, start_response)
